package com.yingma.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * (JcServerZone)实体类
 *  服务区域表
 * @author makejava
 * @since 2020-03-18 15:15:47
 */
@TableName("jc_server_zone")
public class JcServerZone extends Model<JcServerZone> implements Serializable {
    private static final long serialVersionUID = -61006059383274334L;

    private String id;

    private String createName;

    /** 创建时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date createTime;

    private String description;

    private String field1;

    private String field2;

    private String field3;

    private String modifyName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date modifyTime;

    private String name;

    private Integer status;
    /**
    * 运点类型(0.  1.)
    */
    private Integer type;
    /**
    * 组织机构
    */
    private String jcOrganizationId;
    /**
    * 服务区域
    */
    private String jcZoneId;
    /**
    * 最低收费
    */
    private Object minMoney;
    /**
    * 方单价
    */
    private Object volumePrices;
    /**
    * 吨单价
    */
    private Object weightPrices;
    /**
    * 公里数
    */
    private Object mileage;
    /**
    * 送货费
    */
    private Object songHf;

    /**
     * 组织机构信息
     * 表中没有此字段加此注解指定该属性不属于表中的字段
     */
    @TableField(exist = false)
    private JcSysOrganization jcSysOrganizationList;

    /**
     * 行政区域
     */
    @TableField(exist = false)
    private JcZone jcZoneList;

    /**
     * 总页数
     */
    @TableField(exist = false)
    private Integer TotalpageNum;

    /**
     * 总条数
     */
    @TableField(exist = false)
    private Integer TotalSize;

    public Integer getTotalpageNum() {
        return TotalpageNum;
    }

    public void setTotalpageNum(Integer totalpageNum) {
        TotalpageNum = totalpageNum;
    }

    public Integer getTotalSize() {
        return TotalSize;
    }

    public void setTotalSize(Integer totalSize) {
        TotalSize = totalSize;
    }

    public JcZone getJcZoneList() {
        return jcZoneList;
    }

    public void setJcZoneList(JcZone jcZoneList) {
        this.jcZoneList = jcZoneList;
    }

    public JcSysOrganization getJcSysOrganizationList() {
        return jcSysOrganizationList;
    }

    public void setJcSysOrganizationList(JcSysOrganization jcSysOrganizationList) {
        this.jcSysOrganizationList = jcSysOrganizationList;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getField1() {
        return field1;
    }

    public void setField1(String field1) {
        this.field1 = field1;
    }

    public String getField2() {
        return field2;
    }

    public void setField2(String field2) {
        this.field2 = field2;
    }

    public String getField3() {
        return field3;
    }

    public void setField3(String field3) {
        this.field3 = field3;
    }

    public String getModifyName() {
        return modifyName;
    }

    public void setModifyName(String modifyName) {
        this.modifyName = modifyName;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getJcOrganizationId() {
        return jcOrganizationId;
    }

    public void setJcOrganizationId(String jcOrganizationId) {
        this.jcOrganizationId = jcOrganizationId;
    }

    public String getJcZoneId() {
        return jcZoneId;
    }

    public void setJcZoneId(String jcZoneId) {
        this.jcZoneId = jcZoneId;
    }

    public Object getMinMoney() {
        return minMoney;
    }

    public void setMinMoney(Object minMoney) {
        this.minMoney = minMoney;
    }

    public Object getVolumePrices() {
        return volumePrices;
    }

    public void setVolumePrices(Object volumePrices) {
        this.volumePrices = volumePrices;
    }

    public Object getWeightPrices() {
        return weightPrices;
    }

    public void setWeightPrices(Object weightPrices) {
        this.weightPrices = weightPrices;
    }

    public Object getMileage() {
        return mileage;
    }

    public void setMileage(Object mileage) {
        this.mileage = mileage;
    }

    public Object getSongHf() {
        return songHf;
    }

    public void setSongHf(Object songHf) {
        this.songHf = songHf;
    }

}
